เข้าสู่ระบบ สมัครสมาชิก

relative address การใช้

ประโยคมือถือ
  • Relative addresses are a form of manual memory segmentation, and share many of its advantages and disadvantages.
  • An E8E9 transform scans for CALL and JMP instructions ( opcodes E8 and E9 hex ) and replaces their relative addresses with absolute addresses.
  • Standard instructions had a 6-bit operation code, a two-bit index register identifier, and an 8-bit PC-relative address.
  • This reuses the most significant bit of the signed relative address as a " hint bit " to tell whether the conditional branch will be taken or not.
  • Another form of memory address is memory offsets ( relative addresses ) where the amount to add to a fixed reference address is given, rather than the absolute address.
  • In other cases, the entry point is at some other fixed point, which is some memory address than can be an absolute address or relative address ( offset ).
  • This of course is not possible for distributed systems since an ( absolute ) address  in the caller's address space  is normally meaningless to the remote program ( however, a relative address might in fact be usable if the receiver had an " exact " copy of, at least some of, the sender's memory in advance ).